package com.unytech.project.web.action.system;

import org.springframework.stereotype.Controller;

import com.unytech.project.service.system.UserService;
import com.unytech.project.service.system.impl.UserServiceImpl;
import com.unytech.project.web.action.BaseAction;

@Controller("/security/usermanage")
public class UserAction extends BaseAction{
	private String searchunitname;
	private String searchusername;
	private String username;
	private String userrealname;
	private String password;
	private String repassword;
	
	UserService userService = new UserServiceImpl();
	
	public String listAction() {
		
		return "userlist";
	}
	
	
	public String addAction() {
		
		return "useradd";
	}
	
	public String updatePwdAction() {
		
		
		return "updateuserpwd";
	}
	
	public String dealUpdate() {
		
		
//		actionMessage.setTitle("消息提示！");
//		actionMessage.setMessagecontent("操作成功，请重新登录系统！");
//		actionMessage.setBackbutcontent("重新登录");
//		actionMessage.setBackurl("<%=request.getContextPath()%>/security/login_userLogout.action");
//		actionMessage.setDate(new Date());
//		
//		getRequest().setAttribute(Globals.ACTIONMESSAGE, actionMessage);
		return "message";
	}
	
	
	
	
}
